package com.nq.activaity.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 邀请赠送积分表
 * @Author: jeecg-boot
 * @Date:   2024-11-07
 * @Version: V1.0
 */
@Data
@TableName("st_user_invite_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class StUserInviteRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    private Integer id;
	/**userId*/
	@Excel(name = "userId", width = 15)
    private Integer userId;
	/**获得积分*/
	@Excel(name = "获得积分", width = 15)
    private Integer rewardPoints;
	/**获得奖励*/
	@Excel(name = "获得奖励", width = 15)
    private BigDecimal rewardMount;
	/**推荐人id*/
	@Excel(name = "推荐人id", width = 15)
    private Integer referId;
	/**0 进行中 1完成*/
	@Excel(name = "0 进行中 1完成", width = 15)
    private Integer status;
	/**创建时间*/
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**修改时间*/
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
}
